
var $,form,table,layer,transfer,laydate,upload,element;
layui.use(['jquery','table','form','layer','transfer','laydate','upload','element','carousel'], function(){
    var $ = layui.jquery;
    var carousel=layui.carousel;

    carousel.render({
        elem: '#test1',
        width: 800, //设置容器宽度
        height:300,//
        arrow: 'always' //始终显示箭头
        //,anim: 'updown' //切换动画方式
    });

 });
